Class: Im::Require

Inherits:
Struct
  • Object
show all
Defined in:
lib/im.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_constantsObject

Returns the value of attribute defined_constants

Returns:

  • (Object)

    the current value of defined_constants



128
129
130
# File 'lib/im.rb', line 128

def defined_constants
  @defined_constants
end

#importObject

Returns the value of attribute import

Returns:

  • (Object)

    the current value of import



128
129
130
# File 'lib/im.rb', line 128

def import
  @import
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



128
129
130
# File 'lib/im.rb', line 128

def path
  @path
end

#requiresObject

Returns the value of attribute requires

Returns:

  • (Object)

    the current value of requires



128
129
130
# File 'lib/im.rb', line 128

def requires
  @requires
end