Module: RailsReactStdio

Defined in:
lib/rails_react_stdio/react.rb,
lib/rails_react_stdio/version.rb,
lib/rails_react_stdio/configuration.rb

Defined Under Namespace

Classes: Configuration, React

Constant Summary collapse

VERSION =
"0.1.0".freeze

Class Method Summary collapse

Class Method Details

.configurationObject



6
7
8
9
10
# File 'lib/rails_react_stdio/configuration.rb', line 6

def self.configuration
  @configuration ||= Configuration.new(
    react_stdio_path: '/usr/local/bin/react-stdio'
  )
end

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

Yields:



2
3
4
# File 'lib/rails_react_stdio/configuration.rb', line 2

def self.configure
  yield(configuration)
end