Class: Squib::Args::ShowcaseSpecial
Class Method Summary
collapse
Instance Method Summary
collapse
#ensure_dir_created
Methods included from ArgLoader
#[], #convert_units, #deck_conf, #defaultify, #expand_and_set_and_defaultify, #expandable_singleton?, #extract!, #load!, #prep_layout_args, #validate
Class Method Details
.expanding_parameters ⇒ Object
27
28
29
|
# File 'lib/squib/args/showcase_special.rb', line 27
def self.expanding_parameters
[] end
|
.parameters ⇒ Object
14
15
16
17
18
19
20
21
22
23
24
25
|
# File 'lib/squib/args/showcase_special.rb', line 14
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
31
32
33
|
# File 'lib/squib/args/showcase_special.rb', line 31
def self.params_with_units
[ :reflect_offset ]
end
|
Instance Method Details
#face_right? ⇒ Boolean
35
36
37
|
# File 'lib/squib/args/showcase_special.rb', line 35
def face_right?
@face.to_s.strip.downcase == 'right'
end
|