Sha256: fecafcbd7a95d507c4c3df8d325a1dd00759eccc19826261787c6a11c83ef55c

Contents?: true

Size: 258 Bytes

Versions: 6

Compression:

Stored size: 258 Bytes

Contents

module Tabulous
  class Tabsets

    class << self

      def add(tabset_name, tabset)
        @tabsets ||= {}
        @tabsets[tabset_name.to_s] = tabset
      end

      def get(tabset_name)
        @tabsets[tabset_name.to_s]
      end

    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tabulous-2.1.4 lib/tabulous/tabsets.rb
tabulous-2.1.3 lib/tabulous/tabsets.rb
tabulous-2.1.2 lib/tabulous/tabsets.rb
tabulous-2.1.1 lib/tabulous/tabsets.rb
tabulous-2.1.0 lib/tabulous/tabsets.rb
tabulous-2.0.0 lib/tabulous/tabsets.rb