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
Returns a new instance of NotationSection.
446 447 448 449 450 451 452 453 454 455 |
# File 'lib/keeper_secrets_manager/notation.rb', line 446 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.
443 444 445 |
# File 'lib/keeper_secrets_manager/notation.rb', line 443 def end_pos @end_pos end |
#index1 ⇒ Object
Returns the value of attribute index1.
443 444 445 |
# File 'lib/keeper_secrets_manager/notation.rb', line 443 def index1 @index1 end |
#index2 ⇒ Object
Returns the value of attribute index2.
443 444 445 |
# File 'lib/keeper_secrets_manager/notation.rb', line 443 def index2 @index2 end |
#parameter ⇒ Object
Returns the value of attribute parameter.
443 444 445 |
# File 'lib/keeper_secrets_manager/notation.rb', line 443 def parameter @parameter end |
#present ⇒ Object
Returns the value of attribute present.
443 444 445 |
# File 'lib/keeper_secrets_manager/notation.rb', line 443 def present @present end |
#section ⇒ Object
Returns the value of attribute section.
443 444 445 |
# File 'lib/keeper_secrets_manager/notation.rb', line 443 def section @section end |
#start_pos ⇒ Object
Returns the value of attribute start_pos.
443 444 445 |
# File 'lib/keeper_secrets_manager/notation.rb', line 443 def start_pos @start_pos end |
#text ⇒ Object
Returns the value of attribute text.
443 444 445 |
# File 'lib/keeper_secrets_manager/notation.rb', line 443 def text @text end |
Instance Method Details
#present? ⇒ Boolean
457 458 459 |
# File 'lib/keeper_secrets_manager/notation.rb', line 457 def present? @present end |