Class: Plugins::Plugin
- Inherits:
-
Object
- Object
- Plugins::Plugin
- Defined in:
- lib/bujo/plugins/plugin.rb
Direct Known Subclasses
BuildPlugin, CollectionPlugin, DayPlugin, EditPlugin, InitPlugin, MonthPlugin, ProjectPlugin
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#==(other) ⇒ Object
TODO Not sure about this.
- #directory ⇒ Object
- #shortcuts ⇒ Object
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/bujo/plugins/plugin.rb', line 3 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/bujo/plugins/plugin.rb', line 3 def @options end |
Instance Method Details
#==(other) ⇒ Object
TODO Not sure about this
19 20 21 |
# File 'lib/bujo/plugins/plugin.rb', line 19 def ==(other) self.class == other.class end |
#directory ⇒ Object
10 11 12 |
# File 'lib/bujo/plugins/plugin.rb', line 10 def directory nil end |
#shortcuts ⇒ Object
14 15 16 |
# File 'lib/bujo/plugins/plugin.rb', line 14 def shortcuts [] end |