Class: KeeperSecretsManager::Notation::Parser::NotationSection
- Inherits:
-
Object
- Object
- KeeperSecretsManager::Notation::Parser::NotationSection
- Defined in:
- lib/keeper_secrets_manager/notation.rb
Overview
Notation section data class
Instance Attribute Summary collapse
-
#end_pos ⇒ Object
Returns the value of attribute end_pos.
-
#index1 ⇒ Object
Returns the value of attribute index1.
-
#index2 ⇒ Object
Returns the value of attribute index2.
-
#parameter ⇒ Object
Returns the value of attribute parameter.
-
#present ⇒ Object
Returns the value of attribute present.
-
#section ⇒ Object
Returns the value of attribute section.
-
#start_pos ⇒ Object
Returns the value of attribute start_pos.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(section_name) ⇒ NotationSection
constructor
A new instance of NotationSection.
- #present? ⇒ Boolean
Constructor Details
#initialize(section_name) ⇒ NotationSection
344 345 346 347 348 349 350 351 352 353 |
# File 'lib/keeper_secrets_manager/notation.rb', line 344 def initialize(section_name) @section = section_name @present = false @start_pos = -1 @end_pos = -1 @text = nil @parameter = nil @index1 = nil @index2 = nil end |
Instance Attribute Details
#end_pos ⇒ Object
Returns the value of attribute end_pos.
341 342 343 |
# File 'lib/keeper_secrets_manager/notation.rb', line 341 def end_pos @end_pos end |
#index1 ⇒ Object
Returns the value of attribute index1.
341 342 343 |
# File 'lib/keeper_secrets_manager/notation.rb', line 341 def index1 @index1 end |
#index2 ⇒ Object
Returns the value of attribute index2.
341 342 343 |
# File 'lib/keeper_secrets_manager/notation.rb', line 341 def index2 @index2 end |
#parameter ⇒ Object
Returns the value of attribute parameter.
341 342 343 |
# File 'lib/keeper_secrets_manager/notation.rb', line 341 def parameter @parameter end |
#present ⇒ Object
Returns the value of attribute present.
341 342 343 |
# File 'lib/keeper_secrets_manager/notation.rb', line 341 def present @present end |
#section ⇒ Object
Returns the value of attribute section.
341 342 343 |
# File 'lib/keeper_secrets_manager/notation.rb', line 341 def section @section end |
#start_pos ⇒ Object
Returns the value of attribute start_pos.
341 342 343 |
# File 'lib/keeper_secrets_manager/notation.rb', line 341 def start_pos @start_pos end |
#text ⇒ Object
Returns the value of attribute text.
341 342 343 |
# File 'lib/keeper_secrets_manager/notation.rb', line 341 def text @text end |
Instance Method Details
#present? ⇒ Boolean
355 356 357 |
# File 'lib/keeper_secrets_manager/notation.rb', line 355 def present? @present end |