search for: qualified_name

Displaying 3 results from an estimated 3 matches for "qualified_name".

2007 Sep 04
4
Errors in executing first RoR app - reg.
Hi Friends, I am brand new to RoR.Kindly help me with the following problem. Following are the steps i have done. 1) C:/> rails appone 2) C:/> cd appone 3) C:/appone> cd script 4) C:/appone/script> ruby generate controller appone index 5) Edited C:/appone/app/controllers/appone_controller.rb class ApponeController < ApplicationController def index time = Time.now
2007 Nov 27
0
Working with one model from another
...non-database model from another, ActiveRecord, model in order to use some custom methods on a string, without mixing extra methods into the String class. I understand this might be less-than-sensible as models should normally stand on their own..? My two models: ####################### # models/qualified_name.rb # ####################### # t.column :make, :text # t.column :model, :text # t.column :origin_country, :text class QualifiedName < ActiveRecord::Base # Work some magic -- let''s populate the instance using the raw name string (e.g. "Honda Civic"...
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...+ : first_type(first_type), second_type(second_type) {} + + void print_left(stream& s) const override + { + s += "construction vtable for "; + first_type->print(s); + s += "-in-"; + second_type->print(s); + } +}; + +class qualified_name final : public type +{ + // qualifier::name + node* qualifier; + node* name; + + mutable stream_string_ref cache; + +public: + qualified_name(node* qualifier, node* name) + : qualifier(qualifier), name(name) {} + + string_ref get_base_name() const override { + re...