Flowdock
method

dump_accessor

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: XSD::CodeGen::ClassDef
dump_accessor(attrname, writable) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/xsd/codegen/classdef.rb, line 124
  def dump_accessor(attrname, writable)
    if writable
      "attr_accessor :#{attrname}"
    else
      "attr_reader :#{attrname}"
    end
  end
Register or log in to add new notes.