Module: Vident

Defined in:
lib/vident.rb,
lib/vident/base.rb,
lib/vident/railtie.rb,
lib/vident/version.rb,
lib/vident/component.rb,
lib/vident/stable_id.rb,
lib/vident/typed_component.rb,
lib/vident/typed_component.rb,
lib/vident/attributes/typed.rb,
lib/vident/attributes/typed.rb,
lib/vident/attributes/types.rb,
lib/vident/root_component/base.rb,
lib/vident/attributes/not_typed.rb,
lib/vident/attributes/typed_niling_struct.rb,
lib/vident/root_component/using_phlex_html.rb,
lib/vident/root_component/using_view_component.rb

Defined Under Namespace

Modules: Attributes, Base, Component, RootComponent, TypedComponent Classes: Configuration, Railtie, StableId

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configurationObject



8
9
10
# File 'lib/vident.rb', line 8

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



12
13
14
15
# File 'lib/vident.rb', line 12

def configure
  yield(configuration) if block_given?
  configuration
end