Class: Lingo::CLI

Inherits:
Cyclops
  • Object
show all
Defined in:
lib/lingo/cli.rb

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) files (readonly)

Returns the value of attribute files



45
46
47
# File 'lib/lingo/cli.rb', line 45

def files
  @files
end

Class Method Details

+ (Object) defaults



35
36
37
38
39
40
41
# File 'lib/lingo/cli.rb', line 35

def defaults
  super.merge(
    config:   'lingo.cfg',
    language: 'de',
    profile:  false
  )
end

Instance Method Details

- (Object) run(arguments)



47
48
49
# File 'lib/lingo/cli.rb', line 47

def run(arguments)
  @files = arguments
end