Sha256: c0591a93459d578b61c63e48ca736e0b599a11e722f5a53bd6daf77c76d8c536

Contents?: true

Size: 182 Bytes

Versions: 5

Compression:

Stored size: 182 Bytes

Contents

module RiceBubble
  class Attributes
    class Enum < Any
      def initialize(*members, &)
        super(*members.flatten.map { |m| Literal.new(m) }, &)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rice_bubble-0.2.1 lib/rice_bubble/attributes/enum.rb
rice_bubble-0.2.0 lib/rice_bubble/attributes/enum.rb
rice_bubble-0.1.2 lib/rice_bubble/attributes/enum.rb
rice_bubble-0.1.1 lib/rice_bubble/attributes/enum.rb
rice_bubble-0.1.0 lib/rice_bubble/attributes/enum.rb