Class: Brainstem::ApiDocs::Sinks::ControllerPresenterMultifileSink
- Inherits:
-
AbstractSink
- Object
- AbstractSink
- Brainstem::ApiDocs::Sinks::ControllerPresenterMultifileSink
- Extended by:
- Forwardable
- Defined in:
- lib/brainstem/api_docs/sinks/controller_presenter_multifile_sink.rb
Instance Attribute Summary collapse
-
#atlas ⇒ Object
Returns the value of attribute atlas.
-
#format ⇒ Object
Returns the value of attribute format.
-
#write_method ⇒ Object
writeonly
Sets the attribute write_method.
-
#write_path ⇒ Object
writeonly
Sets the attribute write_path.
Instance Method Summary collapse
Methods included from Concerns::Optional
Instance Attribute Details
#atlas ⇒ Object
Returns the value of attribute atlas.
27 28 29 |
# File 'lib/brainstem/api_docs/sinks/controller_presenter_multifile_sink.rb', line 27 def atlas @atlas end |
#format ⇒ Object
Returns the value of attribute format.
27 28 29 |
# File 'lib/brainstem/api_docs/sinks/controller_presenter_multifile_sink.rb', line 27 def format @format end |
#write_method=(value) ⇒ Object
Sets the attribute write_method
24 25 26 |
# File 'lib/brainstem/api_docs/sinks/controller_presenter_multifile_sink.rb', line 24 def write_method=(value) @write_method = value end |
#write_path=(value) ⇒ Object
Sets the attribute write_path
24 25 26 |
# File 'lib/brainstem/api_docs/sinks/controller_presenter_multifile_sink.rb', line 24 def write_path=(value) @write_path = value end |
Instance Method Details
#<<(atlas) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/brainstem/api_docs/sinks/controller_presenter_multifile_sink.rb', line 13 def <<(atlas) self.atlas = atlas write_controller_files write_presenter_files end |
#valid_options ⇒ Object
20 21 22 |
# File 'lib/brainstem/api_docs/sinks/controller_presenter_multifile_sink.rb', line 20 def super | [ :write_method, :format, :write_path ] end |