Class: Inspec::RequireLoader::Item

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#to_h

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



7
8
9
# File 'lib/inspec/require_loader.rb', line 7

def content
  @content
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



7
8
9
# File 'lib/inspec/require_loader.rb', line 7

def line
  @line
end

#loadedObject

Returns the value of attribute loaded

Returns:

  • (Object)

    the current value of loaded



7
8
9
# File 'lib/inspec/require_loader.rb', line 7

def loaded
  @loaded
end

#refObject

Returns the value of attribute ref

Returns:

  • (Object)

    the current value of ref



7
8
9
# File 'lib/inspec/require_loader.rb', line 7

def ref
  @ref
end