Class: Backend::TimelineHelper::Timeline::MarkerStep

Inherits:
Step
  • Object
show all
Defined in:
app/helpers/backend/timeline_helper.rb

Instance Attribute Summary collapse

Attributes inherited from Step

#at, #name

Instance Method Summary collapse

Methods inherited from Step

#<=>

Constructor Details

#initialize(at, key, name = nil) ⇒ MarkerStep

Returns a new instance of MarkerStep.


107
108
109
110
111
# File 'app/helpers/backend/timeline_helper.rb', line 107

def initialize(at, key, name = nil)
  @key = key
  name ||= key.tl
  super(at, name)
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key


106
107
108
# File 'app/helpers/backend/timeline_helper.rb', line 106

def key
  @key
end