Class: EcoRake::Option

Inherits:
RakeCommander::Option
  • Object
show all
Includes:
DefaultLookup, Mirror, Parented
Defined in:
lib/eco-rake/option.rb,
lib/eco-rake/option/mirror.rb,
lib/eco-rake/option/parented.rb,
lib/eco-rake/option/default_lookup.rb

Defined Under Namespace

Modules: DefaultLookup, Mirror, Parented

Instance Attribute Summary

Attributes included from Parented

#parent

Instance Method Summary collapse

Methods included from Mirror

#mirror

Methods included from DefaultLookup

#default, #type_coercion

Methods included from Parented

#initialize

Instance Method Details

#name_false_hyphenedObject



15
16
17
# File 'lib/eco-rake/option.rb', line 15

def name_false_hyphened
  self.class.name_hyphen("no-#{name}")
end

#name_hyphenedObject



11
12
13
# File 'lib/eco-rake/option.rb', line 11

def name_hyphened
  self.class.name_hyphen(name)
end