Module: RoSupport::GuardHelpers::BaseHelper::ClsMeths
- Defined in:
- lib/ro_support/guard_helpers/base_helper.rb
Instance Method Summary collapse
Instance Method Details
#append_features(mod) ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/ro_support/guard_helpers/base_helper.rb', line 18 def append_features(mod) super mod.class_eval do include self.const_get(:ClassMethods) extend self.const_get(:ClassMethods) ::Pry::Command.send :include, self.const_get(:ClassMethods) end end |
#included(base) ⇒ Object
14 15 16 |
# File 'lib/ro_support/guard_helpers/base_helper.rb', line 14 def included(base) super end |