Sha256: 8f8fbcbb70af0464b62f7be3c0985e515d051f10f5d020ddab3c764e6b177255
Contents?: true
Size: 812 Bytes
Versions: 2
Compression:
Stored size: 812 Bytes
Contents
module Vedeu class EscapeChar # @param value [String] # @return [Vedeu::EscapeChar] def initialize(value) @value = value end # @return [String] def colour '' end # An object is equal when its values are the same. # # @param other [Vedeu::Char] # @return [Boolean] def eql?(other) self.class == other.class && value == other.value end alias_method :==, :eql? # @return [String] def inspect "<Vedeu::EscapeChar '#{Vedeu::Esc.escape(to_s)}'>" end # @return [String] def position '' end # @return [String] def style '' end # @return [String] def value @value end alias_method :to_s, :value alias_method :to_str, :value end # EscapeChar end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.26 | lib/vedeu/models/escape_char.rb |
vedeu-0.4.25 | lib/vedeu/models/escape_char.rb |