Sha256: 3accd080f09e41389fbc42c469990f6759d6ab56298f6038ddb3fb6b58261f02
Contents?: true
Size: 853 Bytes
Versions: 7
Compression:
Stored size: 853 Bytes
Contents
# -*- encoding : utf-8 -*- module ScopeHelpers def scope_of section case section when /main card content/ "#main > .card-slot > .card-frame > .card-content" when /pointer card content/ "#main > .card-slot > .card-frame > .card-content > .pointer-list" when /main card header/ "#main > .card-slot > .card-frame > .card-header" when /main card menu/ "#main > .card-slot > .menu-slot > .card-menu" when /main card toolbar/ "#main > .card-slot > .card-frame > nav.toolbar" when /main card frame/ "#main > .card-slot > .card-frame" when /main card body/ "#main > .card-slot > .card-frame > .card-body" else raise "Can't find mapping from \"#{section}\" to a scope.\n" \ "Now, go and add a mapping in #{__FILE__}" end end end World(ScopeHelpers)
Version data entries
7 entries across 7 versions & 1 rubygems