Sha256: 390986b2cd8067e338e94364834feb14eb8b51d2ba6da896e3116f16e2992f23
Contents?: true
Size: 746 Bytes
Versions: 1
Compression:
Stored size: 746 Bytes
Contents
# encoding: UTF-8 # @author Ralf-Tobias Diekert # A debug hint, that can be added to a move class DebugHint # @!attribute [r] content # @return [String] a hint attr_reader :content # @overload initialize # Creates an empty hint # @overload initialize(key, value) # Creates a hint with a key and a value # @param key Key of the hint # @param value of the hint # @overload initialize(content) # Creates a hint with specified content # @param content of the hint def initialize end def initialize(key, value) if key.nil? self.content = "#{value}" else self.content = "#{key} = #{value}" end end def initialize(content) self.content = "#{content}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
software_challenge_client-0.1.1 | lib/software_challenge_client/debug_hint.rb |