Class: Foliokit::Slide
- Inherits:
-
Object
- Object
- Foliokit::Slide
- Defined in:
- lib/foliokit/slide.rb
Instance Attribute Summary collapse
-
#articles ⇒ Object
readonly
Returns the value of attribute articles.
Instance Method Summary collapse
-
#initialize(articles = []) ⇒ Slide
constructor
A new instance of Slide.
Constructor Details
#initialize(articles = []) ⇒ Slide
Returns a new instance of Slide.
5 6 7 |
# File 'lib/foliokit/slide.rb', line 5 def initialize(articles = []) @articles = articles end |
Instance Attribute Details
#articles ⇒ Object (readonly)
Returns the value of attribute articles.
3 4 5 |
# File 'lib/foliokit/slide.rb', line 3 def articles @articles end |