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