Class: RgGen::Core::InputBase::YAMLLoader::Position

Inherits:
Struct
  • Object
show all
Defined in:
lib/rggen/core/input_base/yaml_loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



7
8
9
# File 'lib/rggen/core/input_base/yaml_loader.rb', line 7

def column
  @column
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



7
8
9
# File 'lib/rggen/core/input_base/yaml_loader.rb', line 7

def file
  @file
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



7
8
9
# File 'lib/rggen/core/input_base/yaml_loader.rb', line 7

def line
  @line
end

Instance Method Details

#to_sObject



8
9
10
# File 'lib/rggen/core/input_base/yaml_loader.rb', line 8

def to_s
  "file #{file} line #{line} column #{column}"
end