Skip to content

Commit

Permalink
Removed attr_eval
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Voorhis committed Nov 1, 2008
1 parent c63f455 commit 2c99ecf
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lib/music/attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,3 @@ def method_missing(name, *args)
end
end
end

# Obtain an Object's attribute value by passing it a Context.
class Object
def attr_eval(context)
self
end
end

class Proc
def attr_eval(context)
call(context)
end
end

0 comments on commit 2c99ecf

Please sign in to comment.