Class: Dictionaries::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dictionaries/base/base.rb

Overview

Dictionaries::Base

Instance Method Summary collapse

Instance Method Details

#commandline_arguments?Boolean

#

commandline_arguments?

#

Returns:

  • (Boolean)


40
41
42
# File 'lib/dictionaries/base/base.rb', line 40

def commandline_arguments?
  @commandline_arguments
end

#first_argument?Boolean Also known as: first?

#

first_argument?

#

Returns:

  • (Boolean)


47
48
49
# File 'lib/dictionaries/base/base.rb', line 47

def first_argument?
  @commandline_arguments.first
end

#opne(i = '') ⇒ Object

#

opne

#


74
75
76
# File 'lib/dictionaries/base/base.rb', line 74

def opne(i = '')
  opnn; e i
end

#resetObject

#

reset (reset tag)

#


54
55
# File 'lib/dictionaries/base/base.rb', line 54

def reset
end

#revObject

#

rev (rev tag)

#


60
61
62
# File 'lib/dictionaries/base/base.rb', line 60

def rev
  ::Colours.rev
end

#set_commandline_arguments(i = '') ⇒ Object

#

set_commandline_arguments

#


32
33
34
35
# File 'lib/dictionaries/base/base.rb', line 32

def set_commandline_arguments(i = '')
  i = [i].flatten.compact
  @commandline_arguments = i
end

#sfancy(i) ⇒ Object

#

sfancy

#


67
68
69
# File 'lib/dictionaries/base/base.rb', line 67

def sfancy(i)
  ::Colours.sfancy(i.to_s)
end