Class: Im::Require
- Inherits:
-
Struct
- Object
- Struct
- Im::Require
- Defined in:
- lib/im.rb
Instance Attribute Summary collapse
-
#defined_constants ⇒ Object
Returns the value of attribute defined_constants.
-
#import ⇒ Object
Returns the value of attribute import.
-
#path ⇒ Object
Returns the value of attribute path.
-
#requires ⇒ Object
Returns the value of attribute requires.
Instance Method Summary collapse
-
#initialize(path, import, defined_constants = {}, requires = []) ⇒ Require
constructor
A new instance of Require.
Constructor Details
#initialize(path, import, defined_constants = {}, requires = []) ⇒ Require
Returns a new instance of Require.
129 130 131 |
# File 'lib/im.rb', line 129 def initialize(path, import, defined_constants = {}, requires = []) super end |
Instance Attribute Details
#defined_constants ⇒ Object
Returns the value of attribute defined_constants
128 129 130 |
# File 'lib/im.rb', line 128 def defined_constants @defined_constants end |
#import ⇒ Object
Returns the value of attribute import
128 129 130 |
# File 'lib/im.rb', line 128 def import @import end |
#path ⇒ Object
Returns the value of attribute path
128 129 130 |
# File 'lib/im.rb', line 128 def path @path end |
#requires ⇒ Object
Returns the value of attribute requires
128 129 130 |
# File 'lib/im.rb', line 128 def requires @requires end |