Sha256: 853c56c574d47de934ac5cc68b5ca1483c090952cd5a5fe443a869397ecfbc0b

Contents?: true

Size: 502 Bytes

Versions: 3

Compression:

Stored size: 502 Bytes

Contents

module Danica
  class Wrapper::Container
    include Common
    attr_accessor :content

    delegate :to_f, :contentd?, :to, :to_tex, :to_gnu, :priority, :grouped?,
             :signaled?, :constant?, :valued?, :*, :+, :-, :/, :**,
             :variables, to: :content

    default_value :container?, true

    def initialize(content)
      @content = content
    end

    def ==(other)
      return content == other unless other.is_a?(self.class)
      content == other.content
    end
  end
end



Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
danica-2.6.0 lib/danica/wrapper/container.rb
danica-2.5.1 lib/danica/wrapper/container.rb
danica-2.5.0 lib/danica/wrapper/container.rb