Class: Cdio::CDText
- Inherits:
-
Object
- Object
- Cdio::CDText
- Defined in:
- lib/cdio.rb
Overview
class Track
Instance Method Summary collapse
-
#get(key) ⇒ Object
get(self, key)->string.
-
#initialize(opaque) ⇒ CDText
constructor
A new instance of CDText.
- #is_keyword(key) ⇒ Object
-
#set(key, string) ⇒ Object
set(self, key, string)->None.
Constructor Details
#initialize(opaque) ⇒ CDText
Returns a new instance of CDText.
999 1000 1001 |
# File 'lib/cdio.rb', line 999 def initialize(opaque) @_cdtext = opaque end |
Instance Method Details
#get(key) ⇒ Object
get(self, key)->string
Get the value associatied with key.
1008 1009 1010 |
# File 'lib/cdio.rb', line 1008 def get(key) return Rubycdio::cdtext_get(key, @_cdtext) end |
#is_keyword(key) ⇒ Object
1012 1013 1014 |
# File 'lib/cdio.rb', line 1012 def is_keyword(key) return Rubycdio::cdtext_is_keyword(key, @_cdtext) end |
#set(key, string) ⇒ Object
set(self, key, string)->None
Set the value associatied with key.
1021 1022 1023 |
# File 'lib/cdio.rb', line 1021 def set( key, string) return Rubycdio::cdtext_set(key, string, @_cdtext) end |