to_ruby

to_ruby()
Instance Public methods

Returns a Ruby code representation of this specification, such that it can be eval'ed and reconstruct the same specification later. Attributes that still have their default values are omitted.

REFACTOR: This, plus stuff like ruby_code and pretty_print, should probably be extracted out into some sort of separate class. SRP, do you speak it!??!

doc_ruby_on_rails
2015-04-11 02:18:17
Comments
Leave a Comment

Please login to continue.