Sha256: 8f3a7e484b97f0af33138be50ff7f90395e6dceb8621eaebb951d7e6782bb3d0

Contents?: true

Size: 374 Bytes

Versions: 135

Compression:

Stored size: 374 Bytes

Contents

require "expressir/express/model_element"

module Expressir
  module Express
    class NamedType < ModelElement
      attr_accessor :name, :schema, :wheres, :selectedBy

      def self.find_by_name(name)
        found = nil

        ObjectSpace.each_object(NamedType) do |obj|
          found = obj if obj.name == name
        end

        found
      end
    end
  end
end

Version data entries

135 entries across 135 versions & 1 rubygems

Version Path
expressir-0.2.16-x86-linux lib/expressir/express/named_type.rb
expressir-0.2.16-x64-mingw32 lib/expressir/express/named_type.rb
expressir-0.2.16-arm64-darwin lib/expressir/express/named_type.rb
expressir-0.2.15 lib/expressir/express/named_type.rb
expressir-0.2.15-x86_64-linux lib/expressir/express/named_type.rb
expressir-0.2.15-x86_64-darwin lib/expressir/express/named_type.rb
expressir-0.2.15-x86-mingw32 lib/expressir/express/named_type.rb
expressir-0.2.15-x86-linux lib/expressir/express/named_type.rb
expressir-0.2.15-x64-mingw32 lib/expressir/express/named_type.rb
expressir-0.2.15-arm64-darwin lib/expressir/express/named_type.rb
expressir-0.2.14 lib/expressir/express/named_type.rb
expressir-0.2.14-x86_64-linux lib/expressir/express/named_type.rb
expressir-0.2.14-x86_64-darwin lib/expressir/express/named_type.rb
expressir-0.2.14-x86-mingw32 lib/expressir/express/named_type.rb
expressir-0.2.14-x86-linux lib/expressir/express/named_type.rb
expressir-0.2.14-x64-mingw32 lib/expressir/express/named_type.rb
expressir-0.2.14-arm64-darwin lib/expressir/express/named_type.rb
expressir-0.2.13 lib/expressir/express/named_type.rb
expressir-0.2.13-x86_64-linux lib/expressir/express/named_type.rb
expressir-0.2.13-x86_64-darwin lib/expressir/express/named_type.rb