Sha256: f1621a33e44210acce48c3c7419cc54b7b58a726e06f3e0ce7cefd8476b6ad4f

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

module DataForge
  module DSL
    module Helpers

    end
  end
end



def Object.const_missing(name)
  case name
    when :COMMAND_SCRIPT
      DataForge::CLI.command_script

    when :PARAMS
      DataForge::CLI.user_params

    else
      raise NameError, "uninitialized constant #{name}"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
data_forge-0.1.1 lib/data_forge/dsl/helpers.rb
data_forge-0.1 lib/data_forge/dsl/helpers.rb