Sha256: 2bc316cef42d0ce05346c5a78b76ae716bd2ddf455537dad46cf94d215333a09
Contents?: true
Size: 437 Bytes
Versions: 3
Compression:
Stored size: 437 Bytes
Contents
module Symbiont module WebObjects class << self def class_for_tag @class_for_tag ||= {} end def class_for_type @class_for_type ||= {} end def get_class_for(tag, type=nil) return class_for_type[type.to_sym] if type class_for_tag[tag.to_sym] || ::Symbiont::WebObjects::WebObject end end end end require 'symbiont/web_objects/_common'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
symbiont-0.2.1 | lib/symbiont/web_objects.rb |
symbiont-0.2.0 | lib/symbiont/web_objects.rb |
symbiont-0.1.9 | lib/symbiont/web_objects.rb |