Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/around.rb
Instance Method Summary collapse
- #eigenclass_around_disable_feature(feature_name) ⇒ Object (also: #around_disable_feature)
- #eigenclass_def_around(method_name, feature_name, &method_definition) ⇒ Object (also: #def_around)
Instance Method Details
#eigenclass_around_disable_feature(feature_name) ⇒ Object Also known as: around_disable_feature
9 10 11 |
# File 'lib/around.rb', line 9 def eigenclass_around_disable_feature feature_name class << self; self end.around_disable_feature feature_name end |
#eigenclass_def_around(method_name, feature_name, &method_definition) ⇒ Object Also known as: def_around
5 6 7 |
# File 'lib/around.rb', line 5 def eigenclass_def_around method_name, feature_name, &method_definition class << self; self end.def_around method_name, feature_name, &method_definition end |