Class: Zonesync::Generate
- Inherits:
-
Struct
- Object
- Struct
- Zonesync::Generate
- Extended by:
- T::Sig
- Defined in:
- lib/zonesync/generate.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
Instance Attribute Details
#destination ⇒ Object
Returns the value of attribute destination
5 6 7 |
# File 'lib/zonesync/generate.rb', line 5 def destination @destination end |
#source ⇒ Object
Returns the value of attribute source
5 6 7 |
# File 'lib/zonesync/generate.rb', line 5 def source @source end |
Instance Method Details
#call ⇒ Object
9 10 11 12 |
# File 'lib/zonesync/generate.rb', line 9 def call destination.write(source.read) nil end |