Sha256: c8ea54a5d24d58551d44d033d4fb8d77c62a12905fe529ce8eba06bf6090ec37
Contents?: true
Size: 224 Bytes
Versions: 1
Compression:
Stored size: 224 Bytes
Contents
# frozen_string_literal: true module Tataru # finds resource classes class DefaultResourceFinder def resource_named(name) Kernel.const_get("Tataru::Resources::#{name.to_s.camelize}Resource") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tataru-0.1.0 | lib/tataru/default_resource_finder.rb |