Module: Daru::Configuration
- Included in:
- Daru
- Defined in:
- lib/daru/configuration.rb
Overview
Defines constants and methods related to configuration
Constant Summary collapse
- INSPECT_OPTIONS_KEYS =
[ :max_rows, # Terminal :spacing ].freeze
- DEFAULT_MAX_ROWS =
Jupyter
30
- DEFAULT_SPACING =
Terminal
10
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
22 23 24 |
# File 'lib/daru/configuration.rb', line 22 def self.extended(base) base. end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
18 19 20 |
# File 'lib/daru/configuration.rb', line 18 def configure yield self end |
#reset_options ⇒ Object
26 27 28 29 30 |
# File 'lib/daru/configuration.rb', line 26 def self.max_rows = DEFAULT_MAX_ROWS self.spacing = DEFAULT_SPACING end |