Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

About interface #3

Closed
meisyal opened this issue Apr 5, 2017 · 2 comments
Closed

About interface #3

meisyal opened this issue Apr 5, 2017 · 2 comments

Comments

@meisyal
Copy link
Owner

meisyal commented Apr 5, 2017

An interface contains only public methods without implementation and possibly constants. In the future release, an interface will be generated as a module. For instance, there is an interface "Shape" contains a public abstract method "area():Float". It will be generated as follows:

module Shape
  def area
  end
end

Classes that implement that interface use include to realize interface.

@meisyal
Copy link
Owner Author

meisyal commented Jun 21, 2017

This feature implementation can be seen in 38bc587.

@meisyal
Copy link
Owner Author

meisyal commented Jul 12, 2017

This feature has been included in release 0.1.6.

@meisyal meisyal closed this as completed Jul 12, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant