Class: Plugins::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/bujo/plugins/plugin.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/bujo/plugins/plugin.rb', line 3

def name
  @name
end

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/bujo/plugins/plugin.rb', line 3

def options
  @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

#directoryObject



10
11
12
# File 'lib/bujo/plugins/plugin.rb', line 10

def directory
  nil
end

#shortcutsObject



14
15
16
# File 'lib/bujo/plugins/plugin.rb', line 14

def shortcuts
  []
end