Sha256: 71c5ef72558488e2b04802d3d4f1cbc50d191b346ff814c2824522ad7b82d85d

Contents?: true

Size: 1.33 KB

Versions: 9

Compression:

Stored size: 1.33 KB

Contents

########    #######    ########    #######    ########    ########
##     / / / /    License    \ \ \ \ 
##    Copyleft culture, Copyright (C) is prohibited here
##    This work is licensed under a CC BY-SA 4.0
##    Creative Commons Attribution-ShareAlike 4.0 License
##    Refer to the http://creativecommons.org/licenses/by-sa/4.0/
########    #######    ########    #######    ########    ########
##    / / / /    Code Climate    \ \ \ \ 
##    Language = ruby
##    Indent = space;    4 chars;
########    #######    ########    #######    ########    ########

module ArchestryLookup
  module Schema
    class << self
      
      def getMFVSchema
        args = Hash.recursive
        args[:models]   = {:schema => [:name, :type, :ver, :cby, :con]}
        args[:folders]  = {:schema => [:name, :type, :ver, :cby, :con, :pid, :rtype]}
        args[:views]    = {:schema => [:name, :viewpoint, :ver, :cby, :con]}
        args[:objects]  = {:schema => [:view, :objfolder]}
        args[:stages]   = {:schema => [:view, :objfolder]}
        
        args
      end
      
      def getElementsSchema
        args = Hash.recursive
        args[:elements]  = {:schema => [:mID, :mName, :mType, :fID, :fName, :vID, :vName, :vPoint, :rClass],
                            :schemaDir => [:eClass, :oCby, :oCon]}
        args
      end

    
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
archestry_lookup-0.0.19 lib/schema/schema.rb
archestry_lookup-0.0.18 lib/schema/schema.rb
archestry_lookup-0.0.17 lib/schema/schema.rb
archestry_lookup-0.0.16 lib/schema/schema.rb
archestry_lookup-0.0.15 lib/schema/schema.rb
archestry_lookup-0.0.14 lib/schema/schema.rb
archestry_lookup-0.0.13 lib/schema/schema.rb
archestry_lookup-0.0.12 lib/schema/schema.rb
archestry_lookup-0.0.11 lib/schema/schema.rb