Class: PDK::Config::IniFile::IniFileImpl::SettingLine
- Inherits:
-
Struct
- Object
- Struct
- PDK::Config::IniFile::IniFileImpl::SettingLine
- Includes:
- LineNumber
- Defined in:
- lib/pdk/config/ini_file.rb
Instance Attribute Summary collapse
-
#infix ⇒ Object
Returns the value of attribute infix.
-
#name ⇒ Object
Returns the value of attribute name.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#suffix ⇒ Object
Returns the value of attribute suffix.
-
#value ⇒ Object
Returns the value of attribute value.
Attributes included from LineNumber
Instance Method Summary collapse
Methods included from LineNumber
Instance Attribute Details
#infix ⇒ Object
Returns the value of attribute infix
148 149 150 |
# File 'lib/pdk/config/ini_file.rb', line 148 def infix @infix end |
#name ⇒ Object
Returns the value of attribute name
148 149 150 |
# File 'lib/pdk/config/ini_file.rb', line 148 def name @name end |
#prefix ⇒ Object
Returns the value of attribute prefix
148 149 150 |
# File 'lib/pdk/config/ini_file.rb', line 148 def prefix @prefix end |
#suffix ⇒ Object
Returns the value of attribute suffix
148 149 150 |
# File 'lib/pdk/config/ini_file.rb', line 148 def suffix @suffix end |
#value ⇒ Object
Returns the value of attribute value
148 149 150 |
# File 'lib/pdk/config/ini_file.rb', line 148 def value @value end |
Instance Method Details
#==(other) ⇒ Object
155 156 157 |
# File 'lib/pdk/config/ini_file.rb', line 155 def ==(other) super(other) && self.line_number == other.line_number end |
#to_s ⇒ Object
151 152 153 |
# File 'lib/pdk/config/ini_file.rb', line 151 def to_s "#{prefix}#{name}#{infix}#{value}#{suffix}" end |