Sha256: ec4520abca15943e344cf756dac372ee66d44bfbb314061f75642372bfac8c5e

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

module Baz

  include SuperModule
  include Bar
  make_barrable
  validates 'baz', {:presence => true}
  attr_reader :baz_factor
  
  class << self
    def baz
      'self.baz'
    end
  end
  
  def initialize(baz_factor)
    super()
    @baz_factor = baz_factor
  end

  def baz
    'baz'
  end

  def <=>(other)
    baz_factor <=> other.baz_factor
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
super_module-1.1.1 spec/support/baz.rb
super_module-1.1.0 spec/support/baz.rb