class Asetus::Adapter::TOML
Public Class Methods
from(toml)
click to toggle source
# File lib/asetus/adapter/toml.rb, line 18 def from(toml) require 'toml' ::TOML.load toml end
to(hash)
click to toggle source
# File lib/asetus/adapter/toml.rb, line 13 def to(hash) require 'toml' ::TOML::Generator.new(hash).body end