google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Ruby abstract methods are not "ruby-like" #669

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Use input: 
generate Ruby;
namespace example;

class AssociationRule
{
  abstract;

  public abstract Double getPrimaryMetricValue();
  public abstract Integer getNoValue();
}

class Rule {
  abstract;
  isA AssociationRule;

  public abstract Double getPrimaryMetricValue();

  public Integer getNoValue() {
    0
  }
}

What is the expected output? What do you see instead?

The result creates "no-op" methods instead of asserting at runtime that the 
methods must be implemented.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by kevin.br...@gmail.com on 17 Jan 2015 at 9:14

GoogleCodeExporter commented 9 years ago
Patch submitted to @aforward and Tim. 

Original comment by kevin.br...@gmail.com on 17 Jan 2015 at 10:52

GoogleCodeExporter commented 9 years ago

Original comment by kevin.br...@gmail.com on 11 Feb 2015 at 9:41

GoogleCodeExporter commented 9 years ago

Original comment by kevin.br...@gmail.com on 3 Mar 2015 at 1:10