Sha256: d87c3943e8c9cf1fd7f2bf67434d0251443806cb600bf27229f457e5ef234ca0

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

module Finitio
  module Syntax
    module Support

      def resolve_ruby_const(name)
        name.split('::').inject(::Kernel){|mod,const|
          mod.const_get(const)
        }
      end

    end # module Support
  end # module Syntax
end # module Finitio

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
finitio-0.4.1 lib/finitio/syntax/support.rb
finitio-0.4.0 lib/finitio/syntax/support.rb