Sha256: 4d3defc07e32cd98b273cd2b53ce05dbf2eefa4fa1ce7cd1ea94b4a88f0de596

Contents?: true

Size: 262 Bytes

Versions: 7

Compression:

Stored size: 262 Bytes

Contents

module A
  def name
    "A"
  end
end

module U
  unextendable
  def name
    "U"
  end
end

class C
  attr_accessor :title
  def salutation
    [title, name].reject{|x| x.nil? || x.empty?}.join " "
  end
  def name
    "C"
  end
end

@c = C.new
@c.title = "Mr."

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
unextendable-0.1.7 script/definitions.rb
unextendable-0.1.6 script/definitions.rb
unextendable-0.1.5 script/definitions.rb
unextendable-0.1.4 script/definitions.rb
unextendable-0.1.3 script/definitions.rb
unextendable-0.1.1 script/definitions.rb
unextendable-0.1.0 script/definitions.rb