Class: Rabbit::Command::RabbitSlide::Data
- Inherits:
-
Struct
- Object
- Struct
- Rabbit::Command::RabbitSlide::Data
- Defined in:
- lib/rabbit/command/rabbit-slide.rb
Instance Attribute Summary collapse
-
#allotted_time ⇒ Object
Returns the value of attribute allotted_time.
-
#author_conf ⇒ Object
Returns the value of attribute author_conf.
-
#slide_conf ⇒ Object
Returns the value of attribute slide_conf.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
- #available_markup_languages ⇒ Object
- #default_markup_language ⇒ Object
- #markup_language ⇒ Object
- #save ⇒ Object
Instance Attribute Details
#allotted_time ⇒ Object
Returns the value of attribute allotted_time
37 38 39 |
# File 'lib/rabbit/command/rabbit-slide.rb', line 37 def allotted_time @allotted_time end |
#author_conf ⇒ Object
Returns the value of attribute author_conf
37 38 39 |
# File 'lib/rabbit/command/rabbit-slide.rb', line 37 def @author_conf end |
#slide_conf ⇒ Object
Returns the value of attribute slide_conf
37 38 39 |
# File 'lib/rabbit/command/rabbit-slide.rb', line 37 def @slide_conf end |
#title ⇒ Object
Returns the value of attribute title
37 38 39 |
# File 'lib/rabbit/command/rabbit-slide.rb', line 37 def title @title end |
Instance Method Details
#available_markup_languages ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'lib/rabbit/command/rabbit-slide.rb', line 41 def available_markup_languages { :markdown => "Markdown", :rd => "RD", :hiki => "Hiki", :pdf => "PDF", } end |
#default_markup_language ⇒ Object
50 51 52 |
# File 'lib/rabbit/command/rabbit-slide.rb', line 50 def default_markup_language :rd end |
#markup_language ⇒ Object
54 55 56 |
# File 'lib/rabbit/command/rabbit-slide.rb', line 54 def markup_language .markup_language || default_markup_language end |
#save ⇒ Object
58 59 60 |
# File 'lib/rabbit/command/rabbit-slide.rb', line 58 def save .save end |