Class: Notes::Options::BaseOption
- Inherits:
-
Object
- Object
- Notes::Options::BaseOption
show all
- Defined in:
- lib/notes/options/base_option.rb
Direct Known Subclasses
AddNote, All, CSV, Console, Current, Description, DueDate, FindNote, Html, RemoveNote, Tag, Token, UpdateNote
Instance Method Summary
collapse
Instance Method Details
#description ⇒ Object
8
9
10
|
# File 'lib/notes/options/base_option.rb', line 8
def description
raise 'Unsupported operation'
end
|
#name ⇒ Object
4
5
6
|
# File 'lib/notes/options/base_option.rb', line 4
def name
raise 'Unsupported operation'
end
|
#options ⇒ Object
12
13
14
|
# File 'lib/notes/options/base_option.rb', line 12
def options
{:type => nil, :multi => false}
end
|