Class: Picturelife::Stub
- Inherits:
-
Object
- Object
- Picturelife::Stub
- Defined in:
- lib/picturelife/stub.rb
Instance Attribute Summary collapse
-
#module_name ⇒ Object
readonly
Returns the value of attribute module_name.
Instance Method Summary collapse
-
#initialize(module_name) ⇒ Stub
constructor
A new instance of Stub.
- #method_missing(name, args = nil) ⇒ Object
Constructor Details
#initialize(module_name) ⇒ Stub
Returns a new instance of Stub.
11 12 13 |
# File 'lib/picturelife/stub.rb', line 11 def initialize(module_name) @module_name = module_name end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Attribute Details
#module_name ⇒ Object (readonly)
Returns the value of attribute module_name.
9 10 11 |
# File 'lib/picturelife/stub.rb', line 9 def module_name @module_name end |