Class: Voicevox::StyleInfo
- Inherits:
-
Struct
- Object
- Struct
- Voicevox::StyleInfo
- Defined in:
- lib/voicevox/wrapper/info.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#load ⇒ void
スタイルをロードします。.
-
#loaded? ⇒ Boolean
スタイルがロードされているかを返します。.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
41 42 43 |
# File 'lib/voicevox/wrapper/info.rb', line 41 def id @id end |
#name ⇒ Object
Returns the value of attribute name
41 42 43 |
# File 'lib/voicevox/wrapper/info.rb', line 41 def name @name end |
Instance Method Details
#load ⇒ void
This method returns an undefined value.
スタイルをロードします。
57 58 59 60 |
# File 'lib/voicevox/wrapper/info.rb', line 57 def load Voicevox.initialize_required Voicevox.process_result Voicevox::Core.voicevox_load_model(id) end |