Sha256: faf71fc1d2706f578e74f9b2960572c9862dc4ffaa144e269b6af67460aab1a3

Contents?: true

Size: 230 Bytes

Versions: 24

Compression:

Stored size: 230 Bytes

Contents

# This mixin allows our markup objects (like RDiscount or RedCloth) to have
# all the normal string methods that are available.
module Stringlike
  def method_missing(method, *params)
    self.to_s.send(method, *params)
  end
end

Version data entries

24 entries across 24 versions & 5 rubygems

Version Path
acts_as_markup-2.0.2 lib/acts_as_markup/stringlike.rb
acts_as_markup-2.0.1 lib/acts_as_markup/stringlike.rb
acts_as_markup-2.0.0 lib/acts_as_markup/stringlike.rb
vigetlabs-acts_as_markup-1.2.0 lib/acts_as_markup/stringlike.rb
vigetlabs-acts_as_markup-1.2.1 lib/acts_as_markup/stringlike.rb
vigetlabs-acts_as_markup-1.3.0 lib/acts_as_markup/stringlike.rb
vigetlabs-acts_as_markup-1.3.1 lib/acts_as_markup/stringlike.rb
vigetlabs-acts_as_markup-1.3.2 lib/acts_as_markup/stringlike.rb
vigetlabs-acts_as_markup-1.3.3 lib/acts_as_markup/stringlike.rb
acts_as_markup_on-1.0.0 lib/acts_as_markup_on/stringlike.rb
acts_as_markup-1.4.2 lib/acts_as_markup/stringlike.rb
acts_as_markup-1.4.1 lib/acts_as_markup/stringlike.rb
acts_as_markup-1.4.0 lib/acts_as_markup/stringlike.rb
acts_as_markup_extended-1.0.2 lib/acts_as_markup/stringlike.rb
acts_as_markup_extended-1.0.1 lib/acts_as_markup/stringlike.rb
acts_as_markup-1.3.4 lib/acts_as_markup/stringlike.rb
tristandunn-acts_as_markup-1.3.4 lib/acts_as_markup/stringlike.rb
tristandunn-acts_as_markup-1.3.3 lib/acts_as_markup/stringlike.rb
acts_as_markup-1.2.0 lib/acts_as_markup/stringlike.rb
acts_as_markup-1.2.1 lib/acts_as_markup/stringlike.rb