Sha256: 100438d489e9535853fc8814b2a4663c02e38c78a842cb8587e552897a58d914

Contents?: true

Size: 380 Bytes

Versions: 10

Compression:

Stored size: 380 Bytes

Contents

module Houston
  module Module1
    extend self

    class Engine < ::Rails::Engine
      isolate_namespace Houston::Module1
    end

    class Configuration
      attr_accessor :option1, :option2
    end

    def config(&block)
      @configuration ||= Module1::Configuration.new
      @configuration.instance_eval(&block) if block_given?
      @configuration
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
houston-core-0.9.2 test/support/houston/module1.rb
houston-core-0.9.1 test/support/houston/module1.rb
houston-core-0.9.0 test/support/houston/module1.rb
houston-core-0.9.0.rc1 test/support/houston/module1.rb
houston-core-0.8.4 test/support/houston/module1.rb
houston-core-0.8.3 test/support/houston/module1.rb
houston-core-0.8.2 test/support/houston/module1.rb
houston-core-0.8.1 test/support/houston/module1.rb
houston-core-0.8.0 test/support/houston/module1.rb
houston-core-0.8.0.pre2 test/support/houston/module1.rb