Project

General

Profile

unexist.dev

Assorted tidbits and projects

Feature #4

Ruby extension

Added by Christoph Kappel about 16 years ago. Updated almost 16 years ago.

Status:
Fixed
Priority:
Urgent
Category:
Feature
Target version:
-
Start date:
10/03/2008
Due date:
% Done:

100%

Estimated time:
0.00 h

Description

Create a 'Ruby':http://www.ruby-lang.org extension to use features of subtler in 'Ruby':http://www.ruby-lang.org scripts.

History

#1 Updated by Christoph Kappel about 16 years ago

  • % Done changed from 10 to 20

The extension works - it's just lacking useful stuff:

irb(main):001:0> require "subtlext"
=> true
irb(main):002:0> s = Subtle.new(":0")
Connection open
=> #<Subtle:0xb7d7a46c>
irb(main):003:0> s.version
=> "0.8.655"

#2 Updated by Christoph Kappel about 16 years ago

  • % Done changed from 20 to 40

Ruby
------
require "subtlext"

s = Subtle.new(":2")

puts "subtle %s on %s" % [s.version, s.running? ? s.display : "none"]
puts "Views: %s" % [s.views.join(", ")]
puts "Tags: %s" % [s.tags.join(", ")]

Out
-----
% ruby test.rb
subtle 0.8.670 on :2.0
Views: web, dev, work
Tags: editor, browser, terms, default

#3 Updated by Christoph Kappel about 16 years ago

  • % Done changed from 40 to 50

#4 Updated by Christoph Kappel about 16 years ago

  • % Done changed from 50 to 60

#5 Updated by Christoph Kappel about 16 years ago

  • % Done changed from 60 to 70

#6 Updated by Christoph Kappel about 16 years ago

  • % Done changed from 70 to 80

#7 Updated by Christoph Kappel almost 16 years ago

  • % Done changed from 80 to 100

Extension is finished and may be extended int he future.

#8 Updated by Christoph Kappel almost 16 years ago

  • Status changed from Unconfirmed to Fixed

Also available in: Atom PDF