Class: Fasti::Options
- Inherits:
-
Data
- Object
- Data
- Fasti::Options
- Defined in:
- lib/fasti/cli.rb
Overview
Immutable data structure for CLI options
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#start_of_week ⇒ Object
readonly
Returns the value of attribute start_of_week.
-
#style ⇒ Object
readonly
Returns the value of attribute style.
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config
9 10 11 |
# File 'lib/fasti/cli.rb', line 9 def config @config end |
#country ⇒ Object (readonly)
Returns the value of attribute country
9 10 11 |
# File 'lib/fasti/cli.rb', line 9 def country @country end |
#format ⇒ Object (readonly)
Returns the value of attribute format
9 10 11 |
# File 'lib/fasti/cli.rb', line 9 def format @format end |
#start_of_week ⇒ Object (readonly)
Returns the value of attribute start_of_week
9 10 11 |
# File 'lib/fasti/cli.rb', line 9 def start_of_week @start_of_week end |
#style ⇒ Object (readonly)
Returns the value of attribute style
9 10 11 |
# File 'lib/fasti/cli.rb', line 9 def style @style end |