Class: RubyApp::Elements::Inputs::DurationInput

Inherits:
RubyApp::Elements::Input show all
Defined in:
lib/ruby_app/elements/inputs/duration_input.rb

Instance Attribute Summary collapse

Attributes inherited from RubyApp::Elements::Input

#value

Attributes inherited from RubyApp::Element

#attributes

Instance Method Summary collapse

Methods inherited from RubyApp::Element

#element_id, get_element

Methods included from Mixins::ConfigureMixin

#configure

Methods included from Mixins::TranslateMixin

#localize, #translate

Methods included from Mixins::TemplateMixin

#exclude_parent_template, #exclude_parent_template?, #get_templates, #template_name, #template_path

Methods included from Mixins::RenderMixin

#clear_content_for, #content_for, #render, #rendered?

Constructor Details

#initializeDurationInput

Returns a new instance of DurationInput.



19
20
21
# File 'lib/ruby_app/elements/inputs/duration_input.rb', line 19

def initialize
  super
end

Instance Attribute Details

#durationObject

Returns the value of attribute duration.



17
18
19
# File 'lib/ruby_app/elements/inputs/duration_input.rb', line 17

def duration
  @duration
end