Module: ActivityStreams::Experimental::VerbSpec
- Includes:
- ObjectSpec
- Defined in:
- lib/streams/activitystreams.rb
Overview
Instance Method Summary
collapse
Methods included from ObjectSpec
#attachment, #downstream_duplicate, #ext_vocab, included, #upstream_duplicate
Methods included from Spec
included, #missing_check
Methods included from Spec::Defs
#def_absolute_iri, #def_boolean, #def_bound_float, #def_date_time, #def_iri, #def_non_negative_int, #def_numeric, #def_object, #def_object_array, #def_string, #def_string_array
Instance Method Details
#combo(&block) ⇒ Object
1000
1001
1002
|
# File 'lib/streams/activitystreams.rb', line 1000
def combo &block
ASObj.generate :object_combination,true,&block
end
|
#hypernym(x) ⇒ Object
1004
1005
1006
|
# File 'lib/streams/activitystreams.rb', line 1004
def hypernym x
property :hypernyms, x
end
|
#obj(x, &block) ⇒ Object
1012
1013
1014
|
# File 'lib/streams/activitystreams.rb', line 1012
def obj x, &block
property :foos, x, &block
end
|
#synonym(x) ⇒ Object
1008
1009
1010
|
# File 'lib/streams/activitystreams.rb', line 1008
def synonym x
property :synonyms, x
end
|