Class: Squib::Args::ShowcaseSpecial Private
- Inherits:
-
Object
- Object
- Squib::Args::ShowcaseSpecial
- Includes:
- ArgLoader, DirValidator
- Defined in:
- lib/squib/args/showcase_special.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .expanding_parameters ⇒ Object private
- .parameters ⇒ Object private
- .params_with_units ⇒ Object private
Instance Method Summary collapse
- #face_right? ⇒ Boolean private
Methods included from DirValidator
Methods included from ArgLoader
#[], #convert_units, #defaultify, #expand_and_set_and_defaultify, #expandable_singleton?, #load!, #prep_layout_args, #validate
Class Method Details
.expanding_parameters ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 |
# File 'lib/squib/args/showcase_special.rb', line 23 def self. [] # none of them end |
.parameters ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 16 17 18 19 20 21 |
# File 'lib/squib/args/showcase_special.rb', line 13 def self.parameters { scale: 0.85, offset: 1.1, reflect_offset: 15, reflect_percent: 0.25, reflect_strength: 0.2, face: :left, } end |
.params_with_units ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
27 28 29 |
# File 'lib/squib/args/showcase_special.rb', line 27 def self.params_with_units [ :reflect_offset ] end |
Instance Method Details
#face_right? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
31 32 33 |
# File 'lib/squib/args/showcase_special.rb', line 31 def face_right? @face.to_s.strip.downcase == 'right' end |