lib/parlour/rbi_generator/struct_prop.rb
# Returns the +prop+ call required to create this property.
# @return [String]
Returns the +prop+ call required to create this property.
Returns the + prop + call required to create this property .
def to_prop_call
        call = "prop :#{name}, #{String === @type ? @type : @type.generate_rbi}"
        EXTRA_PROPERTIES.each do |extra_property|
          value = send extra_property
          call += ", #{extra_property}: #{value}" unless value.nil?
        end
        call
      end
def to_prop_call call = "prop :#{name}, #{String === @type ? @type : @type.generate_rbi}" EXTRA_PROPERTIES . each do | extra_property | value = send extra_property call += ", #{extra_property}: #{value}" unless value . nil? end call end
Returns the +prop+ call required to create this property.
Returns the + prop + call required to create this property .
None
String