Module: GemSuit::Application::Utils::ClassMethods
- Defined in:
- lib/gem_suit/application/utils.rb
Instance Attribute Summary collapse
-
#__file__ ⇒ Object
Returns the value of attribute __file__.
Instance Method Summary collapse
Instance Attribute Details
#__file__ ⇒ Object
Returns the value of attribute __file__.
15 16 17 |
# File 'lib/gem_suit/application/utils.rb', line 15 def __file__ @__file__ end |
Instance Method Details
#bundle_install ⇒ Object
21 22 23 |
# File 'lib/gem_suit/application/utils.rb', line 21 def bundle_install self.new.bundle_install end |
#inherited(klass) ⇒ Object
17 18 19 |
# File 'lib/gem_suit/application/utils.rb', line 17 def inherited(klass) klass.__file__ = caller.first[/^[^:]+/] end |