Module: Rhino::Ruby::DeprecatedAccess
- Included in:
- AttributeAccess, DefaultAccess
- Defined in:
- lib/rhino/ruby/access.rb
Instance Method Summary collapse
- #get(object, name, scope, &block) ⇒ Object
- #has(object, name, scope, &block) ⇒ Object
- #put(object, name, value, &block) ⇒ Object
Instance Method Details
#get(object, name, scope, &block) ⇒ Object
63 64 65 66 |
# File 'lib/rhino/ruby/access.rb', line 63 def get(object, name, scope, &block) Rhino.warn "[DEPRECATION] `#{self.name}.get` is deprecated, please sub-class #{self.name} instead." instance.get(object, name, scope, &block) end |