Class: Muvy::Media
- Inherits:
-
Object
- Object
- Muvy::Media
- Defined in:
- lib/muvy/media.rb
Instance Attribute Summary collapse
-
#media ⇒ Object
readonly
Returns the value of attribute media.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(media, options) ⇒ Media
constructor
A new instance of Media.
- #run ⇒ Object
Constructor Details
#initialize(media, options) ⇒ Media
Returns a new instance of Media.
11 12 13 14 |
# File 'lib/muvy/media.rb', line 11 def initialize(media, ) @media = media @options = end |
Instance Attribute Details
#media ⇒ Object (readonly)
Returns the value of attribute media.
9 10 11 |
# File 'lib/muvy/media.rb', line 9 def media @media end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/muvy/media.rb', line 9 def @options end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
9 10 11 |
# File 'lib/muvy/media.rb', line 9 def type @type end |
Instance Method Details
#run ⇒ Object
16 17 18 19 |
# File 'lib/muvy/media.rb', line 16 def run get_type send_type end |