Class: Inspec::RequireLoader::Item

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

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



3
4
5
# File 'lib/inspec/require_loader.rb', line 3

def content
  @content
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



3
4
5
# File 'lib/inspec/require_loader.rb', line 3

def line
  @line
end

#loadedObject

Returns the value of attribute loaded

Returns:

  • (Object)

    the current value of loaded



3
4
5
# File 'lib/inspec/require_loader.rb', line 3

def loaded
  @loaded
end

#refObject

Returns the value of attribute ref

Returns:

  • (Object)

    the current value of ref



3
4
5
# File 'lib/inspec/require_loader.rb', line 3

def ref
  @ref
end