Class: Caisson::Helpers::OrbitSlider
- Inherits:
-
Object
- Object
- Caisson::Helpers::OrbitSlider
- Defined in:
- lib/caisson/helpers/orbit_slider.rb
Instance Attribute Summary collapse
-
#core ⇒ Object
readonly
Returns the value of attribute core.
Instance Method Summary collapse
- #generate(&block) ⇒ Object
-
#initialize(core, items, options = {}) ⇒ OrbitSlider
constructor
A new instance of OrbitSlider.
Constructor Details
#initialize(core, items, options = {}) ⇒ OrbitSlider
Returns a new instance of OrbitSlider.
8 9 10 11 12 13 |
# File 'lib/caisson/helpers/orbit_slider.rb', line 8 def initialize(core, items, ={}) = @core = core @items = items end |
Instance Attribute Details
#core ⇒ Object (readonly)
Returns the value of attribute core.
3 4 5 |
# File 'lib/caisson/helpers/orbit_slider.rb', line 3 def core @core end |
Instance Method Details
#generate(&block) ⇒ Object
15 16 17 |
# File 'lib/caisson/helpers/orbit_slider.rb', line 15 def generate(&block) (&block) end |