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.
26 27 28 |
# File 'lib/squib/args/showcase_special.rb', line 26 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 22 23 24 |
# File 'lib/squib/args/showcase_special.rb', line 13 def self.parameters { scale: 0.85, trim: 0, trim_radius: 38, 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.
30 31 32 |
# File 'lib/squib/args/showcase_special.rb', line 30 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.
34 35 36 |
# File 'lib/squib/args/showcase_special.rb', line 34 def face_right? @face.to_s.strip.downcase == 'right' end |