Method: XCCache::YAMLRepresentable#save

Defined in:
lib/xccache/core/syntax/yml.rb

#save(to: nil) ⇒ Object



12
13
14
# File 'lib/xccache/core/syntax/yml.rb', line 12

def save(to: nil)
  (to || path).write(raw.to_yaml)
end