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
150 151 152 |
# File 'lib/pdk/config/ini_file.rb', line 150 def infix @infix end |
#name ⇒ Object
Returns the value of attribute name
150 151 152 |
# File 'lib/pdk/config/ini_file.rb', line 150 def name @name end |
#prefix ⇒ Object
Returns the value of attribute prefix
150 151 152 |
# File 'lib/pdk/config/ini_file.rb', line 150 def prefix @prefix end |
#suffix ⇒ Object
Returns the value of attribute suffix
150 151 152 |
# File 'lib/pdk/config/ini_file.rb', line 150 def suffix @suffix end |
#value ⇒ Object
Returns the value of attribute value
150 151 152 |
# File 'lib/pdk/config/ini_file.rb', line 150 def value @value end |
Instance Method Details
#==(other) ⇒ Object
157 158 159 |
# File 'lib/pdk/config/ini_file.rb', line 157 def ==(other) super(other) && self.line_number == other.line_number end |
#to_s ⇒ Object
153 154 155 |
# File 'lib/pdk/config/ini_file.rb', line 153 def to_s "#{prefix}#{name}#{infix}#{value}#{suffix}" end |