Sha256: 6db95c5c8581dfbabdfa508eb253a953a45b4bba6de3a1a5181920f4bff926ae
Contents?: true
Size: 184 Bytes
Versions: 2
Compression:
Stored size: 184 Bytes
Contents
module Alfa class Controller def _instance_variables_hash Hash[instance_variables.map { |name| [name.to_s[1..-1].to_sym, instance_variable_get(name)] } ] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alfa-0.0.4.pre | lib/alfa/controller.rb |
alfa-0.0.2.pre | lib/alfa/controller.rb |