Class: ActMention

Inherits:
Object
  • Object
show all
Defined in:
lib/act_resolver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ ActMention

Returns a new instance of ActMention


346
347
348
349
350
# File 'lib/act_resolver.rb', line 346

def initialize attributes
  attributes.each do |attribute, value|
    self.send("#{attribute}=".to_sym, value)
  end
end

Instance Attribute Details

#end_positionObject

Returns the value of attribute end_position


344
345
346
# File 'lib/act_resolver.rb', line 344

def end_position
  @end_position
end

#nameObject

Returns the value of attribute name


344
345
346
# File 'lib/act_resolver.rb', line 344

def name
  @name
end

#section_numberObject

Returns the value of attribute section_number


344
345
346
# File 'lib/act_resolver.rb', line 344

def section_number
  @section_number
end

#start_positionObject

Returns the value of attribute start_position


344
345
346
# File 'lib/act_resolver.rb', line 344

def start_position
  @start_position
end

#textObject

Returns the value of attribute text


344
345
346
# File 'lib/act_resolver.rb', line 344

def text
  @text
end

#yearObject

Returns the value of attribute year


344
345
346
# File 'lib/act_resolver.rb', line 344

def year
  @year
end