Class: PhlexIcons::Flag::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/phlex-icons/flag/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(default_variant: :rectangle) ⇒ Configuration

Returns a new instance of Configuration.



8
9
10
# File 'lib/phlex-icons/flag/configuration.rb', line 8

def initialize(default_variant: :rectangle)
  @default_variant = default_variant
end

Instance Attribute Details

#default_variantObject

Returns the value of attribute default_variant.



6
7
8
# File 'lib/phlex-icons/flag/configuration.rb', line 6

def default_variant
  @default_variant
end