FFI::Generator::Node
# File lib/generator/enum.rb, line 4 def initialize(params = { }) super eval_items end
# File lib/generator/enum.rb, line 8 def to_s @items.sort { |i1, i2| i1[1] <=> i2[1] }.inject("") do |result, item| result << assignment_str(item[0], item[1]) << "\n" end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.