Sha256: 18ae3561d795632b30d520b981f1c669e350ef4e80ce69a7d338c4aeff547e9a

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

require 'active_support'
require 'active_support/core_ext'

class Nymphia::DSL::Context::DefaultParams
  include Nymphia::DSL::Context::HostContextMethods

  attr_reader :result

  def initialize(context, &block)
    @context = context
    @result = {
      contents: {},
    }

    instance_eval(&block)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nymphia-0.1.1 lib/nymphia/dsl/context/default_params.rb
nymphia-0.1.0 lib/nymphia/dsl/context/default_params.rb