Class: PDK::Config::IniFile::IniFileImpl::SectionLine

Inherits:
Struct
  • Object
show all
Includes:
LineNumber
Defined in:
lib/pdk/config/ini_file.rb

Direct Known Subclasses

DefaultSection

Instance Attribute Summary collapse

Attributes included from LineNumber

#previous

Instance Method Summary collapse

Methods included from LineNumber

#line_number

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



162
163
164
# File 'lib/pdk/config/ini_file.rb', line 162

def name
  @name
end

#prefixObject

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



162
163
164
# File 'lib/pdk/config/ini_file.rb', line 162

def prefix
  @prefix
end

#suffixObject

Returns the value of attribute suffix

Returns:

  • (Object)

    the current value of suffix



162
163
164
# File 'lib/pdk/config/ini_file.rb', line 162

def suffix
  @suffix
end

Instance Method Details

#to_sObject



165
166
167
# File 'lib/pdk/config/ini_file.rb', line 165

def to_s
  "#{prefix}[#{name}]#{suffix}"
end