Class: Fasti::Options

Inherits:
Data
  • Object
show all
Defined in:
lib/fasti/cli.rb

Overview

Immutable data structure for CLI options

Instance Attribute Summary collapse

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



9
10
11
# File 'lib/fasti/cli.rb', line 9

def config
  @config
end

#countryObject (readonly)

Returns the value of attribute country

Returns:

  • (Object)

    the current value of country



9
10
11
# File 'lib/fasti/cli.rb', line 9

def country
  @country
end

#formatObject (readonly)

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



9
10
11
# File 'lib/fasti/cli.rb', line 9

def format
  @format
end

#start_of_weekObject (readonly)

Returns the value of attribute start_of_week

Returns:

  • (Object)

    the current value of start_of_week



9
10
11
# File 'lib/fasti/cli.rb', line 9

def start_of_week
  @start_of_week
end

#styleObject (readonly)

Returns the value of attribute style

Returns:

  • (Object)

    the current value of style



9
10
11
# File 'lib/fasti/cli.rb', line 9

def style
  @style
end